package com.example.clock.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.clock.entity.Attend;
import com.example.clock.entity.AttendHistory;
import com.example.clock.entity.AttendVo;

import javax.servlet.http.HttpServletRequest;
import java.text.ParseException;
import java.time.LocalDate;
import java.time.LocalDateTime;

public interface AttendHistoryService extends IService<AttendHistory> {

    /**
     * 添加历史记录
     * @param userName
     * @param toLocalDate
     * @param now
     * @param request
     */
    void saveHistory(String userName, LocalDate toLocalDate, LocalDateTime now, HttpServletRequest request);
}
